import React from 'react'
import { Swiper, Image } from 'react-vant';
import { images } from './demo/images';
import "../style/index.scss"
function Myswiper() {
  return (
    <div className="demo-swiper">
      <Swiper>
        {images.map((image) => (
          <Swiper.Item key={image}>
            <Image lazyload src={image} />
          </Swiper.Item>
        ))}
      </Swiper>
    </div>

  )
}

export default Myswiper